﻿<ctl:ChildWindow x:Class="ExpenseReport.LoginChildWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ctl="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    Title="Please Login">
    <Grid x:Name="loginContent">
        <Grid.RowDefinitions>
            <RowDefinition Height="37"/>
            <RowDefinition Height="37"/>
            <RowDefinition Height="37"/>
            <RowDefinition Height="37"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="70"/>
            <ColumnDefinition Width="150"/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="User ID" VerticalAlignment="Center" Margin="10,0,0,0"/>
        <TextBox x:Name="userIdTextBox" Text="manager" Margin="5" Grid.Column="1"/>
        <TextBlock Text="Password" VerticalAlignment="Center" Margin="10,0,0,0" Grid.Row="1"/>
        <PasswordBox x:Name="passwordTextBox" Margin="5" Password="manager#" Grid.Column="1" Grid.Row="1"/>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Grid.Row="2" Grid.ColumnSpan="2">
            <Button x:Name="loginFormButton" Margin="5" HorizontalAlignment="Center" Content="Login"/>
            <Button x:Name="cancelFormButton" Margin="5" HorizontalAlignment="Center" Content="Cancel"/>
        </StackPanel>
        <TextBlock x:Name="statusMessage" Margin="5" Grid.Row="3" Grid.ColumnSpan="2"/>
    </Grid>
 </ctl:ChildWindow>
